package com.example.emos.wx.db.mapper;

import com.example.emos.wx.db.pojo.TbDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author ShowTimE
* @description 针对表【tb_dept】的数据库操作Mapper
* @Entity com.example.emos.wx.db.pojo.TbDept
*/
@Mapper
public interface TbDeptMapper {

    ArrayList<HashMap> searchDeptMembers(String keyword);

    ArrayList<TbDept> searchAllDept();

    Integer insertDept(String deptName);

    Integer deleteDeptById(Integer id);

    Integer updateDeptById(TbDept dept);

}
